/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hitechbangla.fctu.training;

import com.hitechbangla.fctu.base.Location;
import com.hitechbangla.fctu.base.aircraft.Aircraft;
import com.hitechbangla.fctu.base.aircraft.AircraftState;
import com.hitechbangla.fctu.base.aircraft.AircraftType;
import com.hitechbangla.fctu.base.base.Base;
import fctu.simulator.HTB_MAIN;
import java.util.Timer;
import java.util.TimerTask;

/**
 *
 * @author InspireServe
 */
public class CGITask extends TimerTask{
    Aircraft interCeptor;
    Aircraft target;
    String[] targetCommands, interceptorCommands;
    int[] taskStartTime;
    int phase;
    Timer worker;
    public CGITask(Timer t){
        this.worker = t;
        phase = 0;
    }
    
    public CGITask(Aircraft target, Aircraft interceptor, Timer t){
       this.target = target;
       this.interCeptor = interceptor;
       this.worker = t;
       phase = 0;
    }
    
    public CGITask(CGITask task){
        worker = task.worker;
        interCeptor = task.interCeptor;
        target = task.target;
        targetCommands = task.targetCommands;
        interceptorCommands = task.interceptorCommands;
        phase = task.phase + 1;
    }
    
    
    @Override
    public void run() {
        //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
    public void printf(String arg){
        //System.out.println(arg);
    }
    
}
